var local="http://47.104.10.151";
var user_id=getCookie('userId');
function getCookie(c_name)
{
    if (document.cookie.length>0)
    {
        c_start=document.cookie.indexOf(c_name + "=")
        if (c_start!=-1)
        {
            c_start=c_start + c_name.length+1
            c_end=document.cookie.indexOf(";",c_start)
            if (c_end==-1) c_end=document.cookie.length
            return unescape(document.cookie.substring(c_start,c_end))
        }
    }
    return ""
}
var bid_id1;
var bid_id2;
var bid_id3;
var bid_id4;
var bid_id5;
var bid_id6;
var bid_id7;
var bid_id8;
var bid_id9;
var bid_id10;
var bid_id11;
var bid_id12;
var page=0;
var totalPages=0;

function createXMLHttpBid() {
    //使用大部分浏览器
    var xmlHttp;
    if(window.XMLHttpRequest){
        xmlHttp=new XMLHttpRequest();
    }
    if(window.ActiveXObject){
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        if(!xmlHttp){
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
    }
    return xmlHttp;
}

var xmlHttp_bid;
//通过鼠标点击事件创建HTTP请求
function getBidAll() {
    function createXMLHttpBid11() {
        //使用大部分浏览器
        var xmlHttp;
        if(window.XMLHttpRequest){
            xmlHttp=new XMLHttpRequest();
        }
        if(window.ActiveXObject){
            xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
            if(!xmlHttp){
                xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
            }
        }
        return xmlHttp;
    }

    var xmlHttp_bid=createXMLHttpBid11();
    var url=local+":8080/bid/findBidPageForMore";//服务器URL
    var txt1="page="+page;
    xmlHttp_bid.open("POST",url,true);
    xmlHttp_bid.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlHttp_bid.send(txt1);
    xmlHttp_bid.onreadystatechange=function (){

        var result = xmlHttp_bid.responseText;
        var json = eval("(" + result + ")");

        var input1 = document.getElementsByName("Bid1");
        if (json.data.content[0].tax_status == 0) {
            input1[8].value = "无税率";
        } else if(json.data.content[0].tax_status == 1){
            input1[8].value = "17%";
        }
        bid_id1=json.data.content[0].keyId;
        input1[0].value = json.data.content[0].company_code;
        input1[1].value = json.data.content[0].bidCode;
        input1[2].value = 1;
        input1[3].value = json.data.content[0].bid_name;
        input1[4].value = json.data.content[0].model_code;
        input1[5].value = json.data.content[0].product_size;
        input1[6].value = json.data.content[0].product_brand;
        input1[7].value = json.data.content[0].inventory;
        input1[9].value = json.data.content[0].bid_area;
        input1[10].value = json.data.content[0].bid_status;

        totalPages=json.data.totalPages;

        var input2 = document.getElementsByName("Bid2");

        if (json.data.content[1].tax_status == 0) {
            input2[8].value = "无税率";
        } else if(json.data.content[1].tax_status == 1){
            input2[8].value = "17%";
        }
        bid_id2=json.data.content[1].keyId;
        input2[0].value = json.data.content[1].company_code;
        input2[1].value = json.data.content[1].bidCode;
        input2[2].value = 2;
        input2[3].value = json.data.content[1].bid_name;
        input2[4].value = json.data.content[1].model_code;
        input2[5].value = json.data.content[1].product_size;
        input2[6].value = json.data.content[1].product_brand;
        input2[7].value = json.data.content[1].inventory;
        input2[9].value = json.data.content[1].bid_area;
        input2[10].value = json.data.content[1].bid_status;

        var input3 = document.getElementsByName("Bid3");
        if (json.data.content[2].tax_status == 0) {
            input3[8].value = "无税率";
        } else if(json.data.content[2].tax_status == 1){
            input3[8].value = "17%";
        }
        bid_id3=json.data.content[2].keyId;
        input3[0].value = json.data.content[2].company_code;
        input3[1].value = json.data.content[2].bidCode;
        input3[2].value = 3;
        input3[3].value = json.data.content[2].bid_name;
        input3[4].value = json.data.content[2].model_code;
        input3[5].value = json.data.content[2].product_size;
        input3[6].value = json.data.content[2].product_brand;
        input3[7].value = json.data.content[2].inventory;
        input3[9].value = json.data.content[2].bid_area;
        input3[10].value = json.data.content[2].bid_status;

        var input4 = document.getElementsByName("Bid4");
        if (json.data.content[3].tax_status == 0) {
            input4[8].value = "无税率";
        } else if(json.data.content[3].tax_status == 1){
            input4[8].value = "17%";
        }
        bid_id4=json.data.content[3].keyId;
        input4[0].value = json.data.content[3].company_code;
        input4[1].value = json.data.content[3].bidCode;
        input4[2].value = 4;
        input4[3].value = json.data.content[3].bid_name;
        input4[4].value = json.data.content[3].model_code;
        input4[5].value = json.data.content[3].product_size;
        input4[6].value = json.data.content[3].product_brand;
        input4[7].value = json.data.content[3].inventory;
        input4[9].value = json.data.content[3].bid_area;
        input4[10].value = json.data.content[3].bid_status;

        var input5 = document.getElementsByName("Bid5");
        if (json.data.content[4].tax_status == 0) {
            input5[8].value = "无税率";
        } else if(json.data.content[4].tax_status == 1){
            input5[8].value = "17%";
        }
        bid_id5=json.data.content[4].keyId;
        input5[0].value = json.data.content[4].company_code;
        input5[1].value = json.data.content[4].bidCode;
        input5[2].value = 5;
        input5[3].value = json.data.content[4].bid_name;
        input5[4].value = json.data.content[4].model_code;
        input5[5].value = json.data.content[4].product_size;
        input5[6].value = json.data.content[4].product_brand;
        input5[7].value = json.data.content[4].inventory;
        input5[9].value = json.data.content[4].bid_area;
        input5[10].value = json.data.content[4].bid_status;

        var input6 = document.getElementsByName("Bid6");
        if (json.data.content[5].tax_status == 0) {
            input6[8].value = "无税率";
        } else {if(json.data.content[5].tax_status == 1)
            input6[8].value = "17%";
        }
        bid_id6=json.data.content[5].keyId;
        input6[0].value = json.data.content[5].company_code;
        input6[1].value = json.data.content[5].bidCode;
        input6[2].value = 6;
        input6[3].value = json.data.content[5].bid_name;
        input6[4].value = json.data.content[5].model_code;
        input6[5].value = json.data.content[5].product_size;
        input6[6].value = json.data.content[5].product_brand;
        input6[7].value = json.data.content[5].inventory;
        input6[9].value = json.data.content[5].bid_area;
        input6[10].value = json.data.content[5].bid_status;

        var input7 = document.getElementsByName("Bid7");
        if (json.data.content[6].tax_status == 0) {
            input7[8].value = "无税率";
        } else {if(json.data.content[6].tax_status == 1)
            input7[8].value = "17%";
        }
        bid_id7=json.data.content[6].keyId;
        input7[0].value = json.data.content[6].company_code;
        input7[1].value = json.data.content[6].bidCode;
        input7[2].value = 7;
        input7[3].value = json.data.content[6].bid_name;
        input7[4].value = json.data.content[6].model_code;
        input7[5].value = json.data.content[6].product_size;
        input7[6].value = json.data.content[6].product_brand;
        input7[7].value = json.data.content[6].inventory;
        input7[9].value = json.data.content[6].bid_area;
        input7[10].value = json.data.content[6].bid_status;

        var input8 = document.getElementsByName("Bid8");
        if (json.data.content[7].tax_status == 0) {
            input8[8].value = "无税率";
        } else {if(json.data.content[7].tax_status == 1)
            input8[8].value = "17%";
        }
        bid_id8=json.data.content[7].keyId;
        input8[0].value = json.data.content[7].company_code;
        input8[1].value = json.data.content[7].bidCode;
        input8[2].value = 8;
        input8[3].value = json.data.content[7].bid_name;
        input8[4].value = json.data.content[7].model_code;
        input8[5].value = json.data.content[7].product_size;
        input8[6].value = json.data.content[7].product_brand;
        input8[7].value = json.data.content[7].inventory;
        input8[9].value = json.data.content[7].bid_area;
        input8[10].value = json.data.content[7].bid_status;

        var input9 = document.getElementsByName("Bid9");
        if (json.data.content[8].tax_status == 0) {
            input9[8].value = "无税率";
        } else {if(json.data.content[8].tax_status == 1)
            input9[8].value = "17%";
        }
        bid_id9=json.data.content[8].keyId;
        input9[0].value = json.data.content[8].company_code;
        input9[1].value = json.data.content[8].bidCode;
        input9[2].value = 6;
        input9[3].value = json.data.content[8].bid_name;
        input9[4].value = json.data.content[8].model_code;
        input9[5].value = json.data.content[8].product_size;
        input9[6].value = json.data.content[8].product_brand;
        input9[7].value = json.data.content[8].inventory;
        input9[9].value = json.data.content[8].bid_area;
        input9[10].value = json.data.content[8].bid_status;

        var input10 = document.getElementsByName("Bid10");
        if (json.data.content[9].tax_status == 0) {
            input10[8].value = "无税率";
        } else {if(json.data.content[9].tax_status == 1)
            input10[8].value = "17%";
        }
        bid_id10=json.data.content[9].keyId;
        input10[0].value = json.data.content[9].company_code;
        input10[1].value = json.data.content[9].bidCode;
        input10[2].value = 10;
        input10[3].value = json.data.content[9].bid_name;
        input10[4].value = json.data.content[9].model_code;
        input10[5].value = json.data.content[9].product_size;
        input10[6].value = json.data.content[9].product_brand;
        input10[7].value = json.data.content[9].inventory;
        input10[9].value = json.data.content[9].bid_area;
        input10[10].value = json.data.content[9].bid_status;


        var input11 = document.getElementsByName("Bid11");
        if (json.data.content[10].tax_status == 0) {
            input11[8].value = "无税率";
        } else {if(json.data.content[10].tax_status == 1)
            input11[8].value = "17%";
        }
        bid_id11=json.data.content[10].keyId;
        input11[0].value = json.data.content[10].company_code;
        input11[1].value = json.data.content[10].bidCode;
        input11[2].value = 11;
        input11[3].value = json.data.content[10].bid_name;
        input11[4].value = json.data.content[10].model_code;
        input11[5].value = json.data.content[10].product_size;
        input11[6].value = json.data.content[10].product_brand;
        input11[7].value = json.data.content[10].inventory;
        input11[9].value = json.data.content[10].bid_area;
        input11[10].value = json.data.content[10].bid_status;

        var input12 = document.getElementsByName("Bid12");
        if (json.data.content[11].tax_status == 0) {
            input12[8].value = "无税率";
        } else {if(json.data.content[11].tax_status == 1)
            input12[8].value = "17%";
        }
        bid_id12=json.data.content[11].keyId;
        input12[0].value = json.data.content[11].company_code;
        input12[1].value = json.data.content[11].bidCode;
        input12[2].value = 12;
        input12[3].value = json.data.content[11].bid_name;
        input12[4].value = json.data.content[11].model_code;
        input12[5].value = json.data.content[11].product_size;
        input12[6].value = json.data.content[11].product_brand;
        input12[7].value = json.data.content[11].inventory;
        input12[9].value = json.data.content[11].bid_area;
        input12[10].value = json.data.content[11].bid_status;

    }
}

function BidOrder1() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id1;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标一："+txt);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }


}

function BidOrder2() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id2;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标二："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}
function BidOrder3() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id3;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标三："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}

function BidOrder4() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id4;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标四："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}

function BidOrder5() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id5;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标五："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}

function BidOrder6() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id6;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标六："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}

function BidOrder7() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id7;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标七："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}
function BidOrder8() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id8;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标八："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}
function BidOrder9() {
    var url=local+":8080/voteBid/voteBidHomePage";
    xmlHttp=creatxmlHTTP_voteBid();
    var txt="";//用于存储拼接字符串；
    //拼接字符
    txt="user_id="+user_id+"&bid_id="+bid_id9;
    xmlHttp.open("POST",url,true);
    xmlHttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange=function()
    {
        if (xmlHttp.readyState==4 && xmlHttp.status==200)
        {
            var result=xmlHttp.responseText;
            var json=eval("("+result+")");
            var msg=json.msg;
            alert("竞标九："+msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }

}
function BidOrder10() {
    var url = local+":8080/voteBid/voteBidHomePage";
    xmlHttp = creatxmlHTTP_voteBid();
    var txt = "";//用于存储拼接字符串；
    //拼接字符
    txt = "user_id=" + user_id + "&bid_id=" + bid_id10;
    xmlHttp.open("POST", url, true);
    xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange = function () {
        if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
            var result = xmlHttp.responseText;
            var json = eval("(" + result + ")");
            var msg = json.msg;
            alert("竞标十：" + msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }
}

function BidOrder11() {
    var url = local+":8080/voteBid/voteBidHomePage";
    xmlHttp = creatxmlHTTP_voteBid();
    var txt = "";//用于存储拼接字符串；
    //拼接字符
    txt = "user_id=" + user_id + "&bid_id=" + bid_id11;
    xmlHttp.open("POST", url, true);
    xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange = function () {
        if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
            var result = xmlHttp.responseText;
            var json = eval("(" + result + ")");
            var msg = json.msg;
            alert("竞标十一：" + msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }
}

function BidOrder12() {
    var url = local+":8080/voteBid/voteBidHomePage";
    xmlHttp = creatxmlHTTP_voteBid();
    var txt = "";//用于存储拼接字符串；
    //拼接字符
    txt = "user_id=" + user_id + "&bid_id=" + bid_id12;
    xmlHttp.open("POST", url, true);
    xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlHttp.send(txt);
    xmlHttp.onreadystatechange = function () {
        if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
            var result = xmlHttp.responseText;
            var json = eval("(" + result + ")");
            var msg = json.msg;
            alert("竞标十二：" + msg);
            window.open('个人中心/HTML/Biding_results%20.html');
        }
    }
}


function creatxmlHTTP_voteBid() {
    if(window.XMLHttpRequest){
//  IE7+, Firefox, Chrome, Opera, Safari 浏览器执行代码
        xmlHttp=new XMLHttpRequest();
    }else {
        // IE6, IE5 浏览器执行代码
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }

    return xmlHttp;
}



function addPage() {

    if(totalPages>page+1){
        for(var i=0;i<document.getElementsByName("Bid1").length;i++){
            document.getElementsByName("Bid1")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid2").length;i++){
            document.getElementsByName("Bid2")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid3").length;i++){
            document.getElementsByName("Bid3")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid4").length;i++){
            document.getElementsByName("Bid4")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid5").length;i++){
            document.getElementsByName("Bid5")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid6").length;i++){
            document.getElementsByName("Bid6")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid7").length;i++){
            document.getElementsByName("Bid7")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid8").length;i++){
            document.getElementsByName("Bid8")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid9").length;i++){
            document.getElementsByName("Bid9")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid10").length;i++){
            document.getElementsByName("Bid10")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid11").length;i++){
            document.getElementsByName("Bid11")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid12").length;i++){
            document.getElementsByName("Bid12")[i].value="";
        }

        page++;
        getBidAll();
    }
    else alert("已经是最后一页");

}
function decPage() {
    if(page-1>=0){
        for(var i=0;i<document.getElementsByName("Bid1").length;i++){
            document.getElementsByName("Bid1")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid2").length;i++){
            document.getElementsByName("Bid2")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid3").length;i++){
            document.getElementsByName("Bid3")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid4").length;i++){
            document.getElementsByName("Bid4")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid5").length;i++){
            document.getElementsByName("Bid5")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid6").length;i++){
            document.getElementsByName("Bid6")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid7").length;i++){
            document.getElementsByName("Bid7")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid8").length;i++){
            document.getElementsByName("Bid8")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid9").length;i++){
            document.getElementsByName("Bid9")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid10").length;i++){
            document.getElementsByName("Bid10")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid11").length;i++){
            document.getElementsByName("Bid11")[i].value="";
        }
        for(var i=0;i<document.getElementsByName("Bid12").length;i++){
            document.getElementsByName("Bid12")[i].value="";
        }
        page--;
        getBidAll();
    }
    else alert("第一页");
}